Fox's Git Mirrors
scripts/ci/install-git-hooks.sh 633735d797cc5f5d48cb2e22e8fd7cd743930daf (633735d7) Text, 292 B
#!/bin/sh
# Point this clone at .githooks/ (tracked git hooks).
set -eu
ROOT="$(CDPATH='' cd -- "$(dirname "$0")/../.." && pwd)"
cd "$ROOT"
git config core.hooksPath .githooks
chmod +x .githooks/pre-commit scripts/ci/pre-commit-lint.sh
echo "install-git-hooks.sh: core.hooksPath=.githooks"
Served by rngit 1.5.2 - Generated in 0.02s